package com.example.mytest

import android.graphics.Color
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.example.mytest.adapter.DataBaseBean
import com.example.mytest.adapter.TestAdapter
import com.example.mytest.utils.CityUtil
import com.example.mytest.utils.TimeUtils
import com.gavin.com.library.StickyDecoration
import com.google.gson.Gson
import kotlinx.android.synthetic.main.activity_test.*


class TestActivity : AppCompatActivity() {


    lateinit var testAdapter: TestAdapter


    var cityList = mutableListOf<DataBaseBean.DataBean.TransactionsBean>()


    var datalist = mutableListOf<Int>()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_test)

//        cityList = CityUtil.getdata(this)

        swiatch.isFocusable = false



    }
}